package com.liao.dao;

import com.liao.bean.Log;

import java.util.List;

public interface LogDao {
    /**
     * 根据订单Id模糊查询列表
     * @param orderId
     * @return
     * @throws Exception
     */
    List<Log> selectLogListLikeLogName(String orderId) throws Exception;

    /**
     * 添加会员
     * @param log
     * @throws Exception
     */
    void addLog(Log log) throws Exception;

    /**
     * 修改会员
     * @param log
     * @throws Exception
     */
    void updateLog(Log log) throws Exception;

    /**
     * 根据id删除会员
     * @param logId
     * @throws Exception
     */
    void deleteLog(String logId) throws Exception;
}
